package com.SoftwareManage.service;

import com.SoftwareManage.entity.Permission;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface PermissionService {
    List<Permission> selectAll();
    List<Permission> selectAlls(int page,int pageSize);
    List<Permission> search(String permission_name);
    List<Permission> searchs(String permission_name,int page,int pageSize);
    void update(int id,String permission,String permission_name,String remark);
    List<String> selectAllPermissions();
    void addPermission(String permission,String permission_name,String remark);
    void deletePerm(int id);
}
